package com.luisliuyi.demo.webrtc.ws;

import org.webrtc.IceCandidate;

import java.util.ArrayList;

public interface ISignalingEvents {
    // webSocket连接成功
    void onWebSocketOpen();

    // webSocket连接失败
    void onWebSocketOpenFailed(String msg);

    // 进入房间
    void onJoinToRoom(ArrayList<String> connections, String myId);

    void onReceiverAnswer(String socketId, String sdp);

    void onReceiveOffer(String socketId, String sdp);

    void onRemoteIceCandidate(String socketId, IceCandidate iceCandidate);
}
